﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Shared.master" AutoEventWireup="true"
    CodeFile="index_simp.aspx.cs" Inherits="ltMan_index_tabStrip" %>
<%@ Register Src="~/Shared/UserControl/SiteHeader.ascx" TagName="SiteHeader" TagPrefix="telerikEx" %>
<asp:Content ID="C1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="C2" ContentPlaceHolderID="CPH1" runat="Server">
    <script>
        if (top.location != self.location) top.location = self.location;
        Sys.Application.add_load(function () {
            var treeViewId = '<%=RadTreeViewMenu.ClientID %>', rightPaneId = '<%= RadPaneRight.ClientID %>', loadingPanel = $find('<%=Master.FindControl("MasterRALP1").ClientID %>');
            $find(treeViewId).add_nodeClicking(function (s, e) {
                var node = e.get_node();
                var url = node.get_navigateUrl();
                if (url && url.length > 3) {
                    loadingPanel.hide(rightPaneId);
                    loadingPanel.show(rightPaneId);
                }
            });
            $('#' + rightPaneId + ' iframe').load(function () {
                loadingPanel.hide(rightPaneId);
            });
            $('.split-bar').removeClass('rspResizeBar');
        });
    </script>    
    <telerik:RadSplitter ID="RadSplitterTop" runat="server" Width="100%" Height="100%"
        Orientation="Horizontal">
        <telerik:RadPane ID="RadPaneTop" runat="server" Height="48" Scrolling="None">
            <telerikEx:SiteHeader ID="SiteHeader1" runat="server" />
        </telerik:RadPane>
        <telerik:RadPane ID="RadPaneDown" runat="server" Scrolling="None">
            <telerik:RadSplitter ID="RadSplitterContent" runat="server">
                <telerik:RadPane ID="RadPaneLeft" runat="server" MaxWidth="250" Width="150">
                    <telerik:RadTreeView ID="RadTreeViewMenu" ShowLineImages="false" runat="server">
                        <DataBindings>
                            <telerik:RadTreeNodeBinding ImageUrl="/shared/img/assert/menu-folder.jpg" Depth="0" />
                            <telerik:RadTreeNodeBinding ImageUrl="/shared/img/assert/menu-item.jpg" Depth="1" />
                        </DataBindings>
                    </telerik:RadTreeView>
                </telerik:RadPane>
                <telerik:RadSplitBar ID="RadSplitBarLeft" runat="server" CollapseMode="Forward" CssClass="split-bar" />
                <telerik:RadPane ID="RadPaneRight" runat="server" Scrolling="None" ContentUrl="ContentIndex.aspx">
                </telerik:RadPane>
            </telerik:RadSplitter>
        </telerik:RadPane>
    </telerik:RadSplitter>
</asp:Content>